package com.xianyun.site.support.api;

import com.aliyuncs.dysmsapi.model.v20170525.QuerySendDetailsResponse;
import com.aliyuncs.dysmsapi.model.v20170525.SendSmsResponse;
import com.xianyun.site.support.dto.SmsReceiveCmd;

/**
 * @author mac_zyj
 * Sms 服务接口
 */
public interface SmsServiceI extends MessageService{
    /**
     * 发送短信消息
     * @param smsRequest sms
     * @return 发送结果
     */
    SendSmsResponse sendSmsMessage(SmsReceiveCmd smsRequest);

    /**
     * 根据 电话号码和发送日期查看发送详情
     * @param tellPhone 电话号码
     * @param sendData 发送日期
     * @return 查询发送记录
     */
    QuerySendDetailsResponse querySendDetailsByPhoneAndData(String tellPhone,String sendData);
}
